package com.example.domain;

import lombok.Data;

@Data
public class Resource {
    private String rnum;
    private String rname;
    private String rstatus;
    private String rtype;
    private String brand;
    private String model;
    private Double price;
    private String borrowtime;
    private String registime;
    private int uid;
    private String storage;
    private int manage_uid;
    private String tips;

    private String uname;

//    public Resource(String rnum, String rname, String rstatus, String rtype,
//                    String brand, String model, Double price, String buytime,String registime, String tips) {
//        this.rnum = rnum;
//        this.rname = rname;
//        this.rstatus = rstatus;
//        this.rtype = rtype;
//        this.brand = brand;
//        this.model = model;
//        this.price = price;
//        this.buytime = buytime;
//        this.registime = registime;
//        this.tips = tips;
//    }

//    @Override
//    public String toString() {
//        return "Resource{" +
//                "rnum='" + rnum + '\'' +
//                ", rname='" + rname + '\'' +
//                ", rstatus='" + rstatus + '\'' +
//                ", rtype='" + rtype + '\'' +
//                ", brand='" + brand + '\'' +
//                ", model='" + model + '\'' +
//                ", price=" + price +
//                ", buytime='" + time + '\'' +
//                ", registime='" + registime + '\'' +
//                ", uname='" + uname + '\'' +
//                ", tips='" + tips + '\'' +
//                '}';
//    }
}
